/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejb;

import javax.ejb.Stateful;

/**
 *
 * @author timoteus78
 */
@Stateful
public class UserBean implements UserRemote {
    private int validation;
//returns type of validation 0:notvalidated, 1:user, 2:staffUser, 3:admin
    public int getValidation() {
        return validation;
    }
//updates userdata in database
    public String updateUser() {
        return null;
    }
    
    // Add business logic below. (Right-click in editor and choose
    // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
    
    
}
